package cn.v2tila.rsosa.management.jpa;

import cn.v2tila.rsosa.management.entity.AssoEntity;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import java.util.List;

/**
 * @author v2tila on 20:23 2019/2/27
 */

public interface AssoJPA extends JpaRepository<AssoEntity, Integer>, JpaSpecificationExecutor<AssoEntity> {

    boolean existsByNo(String no);

    void deleteById(Integer id);

    AssoEntity findByUniqueId(String uniqueId);

}
